package com.itheima.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.SmsCouponProductRelation;

/**
* @author lenovo
* @description 针对表【sms_coupon_product_relation(优惠券和产品的关系表)】的数据库操作Service
* @createDate 2022-10-11 14:26:17
*/
public interface SmsCouponProductRelationApi{

    //保存couponProductRelation
    void saveCouponProductRelation(SmsCouponProductRelation productRelationList);

    //根据couponId删除couponProductRelation
    void deleteByCouponId(Integer id);
    //更新SmsCouponProductRelation对象
    void updateCouponProductRelation(SmsCouponProductRelation productRelationList);
    //查找SmsCouponProductRelation
    SmsCouponProductRelation findByCouponId(Integer id);
}
